import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router';
import { MenuComponent } from '../menu/menu.component';

const routerConfig: Routes = [

  {
    path: '',
    component: MenuComponent
  }
];

@NgModule({
  imports: [
    CommonModule,
    RouterModule.forChild(routerConfig)
  ],
  exports: [
    RouterModule
  ],
})
export class MenuRoutingModule { }
